import React, { Component } from 'react'
import Registe from './Registe'
import Login from './Login'
// 注意: withCommon只是一个函数,这个函数返回值才是真正的Common组件
import withCommon from './common'
const Common1 = withCommon(Login)
const Common2 = withCommon(Registe)
export default class App extends Component {
  render() {
    return (
      <div>
        <Common1></Common1>
        <Common2></Common2>
      </div>
    )
  }
}
